package org.xmlrpc.android;

public class XMLRPCException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7499675036625522379L;
	
	private int code;

	public XMLRPCException(Exception e) {
		super(e);
	}

	public XMLRPCException(String string) {
		super(string);
	}
	

	public XMLRPCException(Exception e, int code) {
		super(e);
		this.code = code;
	}

	public XMLRPCException(String string, int code) {
		super(string);
		this.code = code;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}
	
	

}
